import { createApp } from 'vue'
import App from './App.vue'
import vuetify from './plugins/vuetify'
import { loadFonts } from './plugins/webfontloader'
import EventBus from '@/utils/bus';
import router from './router'
import lodash from 'lodash';
import './style.css'
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'
import { createPinia } from 'pinia'
const app = createApp(App)
const pinia = createPinia()
import i18n from "./i18n";

// 全部变量定义
app.config.globalProperties.$lodash = lodash;
app.config.globalProperties.$bus = EventBus;

loadFonts()
app.use(ElementPlus, { size: 'large', zIndex: 3000 })
app.use(router)
app.use(createPinia())
app.use(i18n)
app.use(vuetify).mount('#app')
